Skip to content

Fix units designations of GW drag diagnostic variables dusfcg, dtaux2d, etc.#1378

Merged
mgduda merged 1 commit intoMPAS-Dev:developfrom
mdtoyNOAA:develop_fix_UGWP_diags_units
Mar 20, 2026
Merged

Fix units designations of GW drag diagnostic variables dusfcg, dtaux2d, etc.#1378
mgduda merged 1 commit intoMPAS-Dev:developfrom
mdtoyNOAA:develop_fix_UGWP_diags_units

Conversation

@mdtoyNOAA
Copy link
Contributor

@mdtoyNOAA mdtoyNOAA commented Nov 13, 2025

This PR corrects the units designations of the gravity wave drag diagnostics variables dusfcg, dvsfcg, dtaux3d and dtauy3d as follows:

The units for the “dusfcg” and “dvsfcg” variables are currently “Pa m s^{-1}” when they actually should simply be “Pa”. These variables represent the vertical integral of “d(tau)/dz”, which turns out to be the GWD at the surface, whose units are “Pa”.

The units for the “dtaux” and “dtauy” variables are currently “m s^{-1}” when they actually should be “m s^{-2}”. These variables represent the vertical divergence of the horizontal GWD momentum flux ( (-1/rho) * d(tau)/dz ), where tau is the GWD momentum flux or “wave stress” (units are Pascal).

This code has not been tested as the changes are extremely minor and they do not change the model results.

Copy link
Contributor

@mgduda mgduda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these corrections, and apologies that it's taken so long to review this PR!

@mgduda mgduda merged commit 4445468 into MPAS-Dev:develop Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants